<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>当地高校</title>
<link href="../css/style03.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/js03.js"></script>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=RfBqlkD86iT76j4OGaPmdkrunN3PrMEG"></script>
</head>
<body>
<!--head-->

<div id="header">
   <div id="logo">
   		<h1 class="A">Meiōsei</h1>
   
   <ul class="nav">
      <li> <a class="text"><span>首页</span></a>
        <div class="info">
        	<a href="index.html"><span>Home</span></a>
        </div>
      </li>
      <li> <a class="text"><span>涠洲美景</span></a>
        <div class="info">
        	<a href="meizhoumeijing.html"><span>Landscape</span></a>
        </div>
      </li>
      <li> <a class="text"><span>百年老街</span></a>
        <div class="info">
        	<a href="beihailaojie.html"><span>Old street</span></a>
        </div>
      </li>
      <li> <a class="text"><span>当地高校</span></a>
        <div class="info">
        	<a href="dangdigaoxiao.html"><span>School</span></a>
        </div>
      </li>
      <li> <a class="text"><span>南珠之乡</span></a>
        <div class="info">
        	<a href="nanzhuzhixiang.html"><span>South pearl</span></a>
        </div>
      </li>
      <li> <a class="text"><span>关于我们</span></a>
        <div class="info">
        	<a href="guanyuwomen.html"><span>About us</span></a>
        </div>
      </li>
    </ul>
   </div>
   <div id="main">
   <div style="width:48px; height:50px; float:right; margin-top:-65px;">
	 <audio id="music" src="../music/华语群星 - 我们从东西南北走过来.mp3"s autoplay="autoplay" loop>你的浏览器不支持audio标签。</audio>
		<a id="audio_btn"><img src="../image/play.gif" width="48" height="50" id="music_btn" border="0"></a>

</div>
<script src="https://cdn.bootcss.com/jquery/1.8.2/jquery.min.js"></script>
<script>
$("#audio_btn").click(function(){
	var music = document.getElementById("music");
	if(music.paused){
		music.play();
		$("#music_btn").attr("src","../image/play.gif");
	}else{
		music.pause();
		$("#music_btn").attr("src","../image/pause.gif");
	}
});

function playPause() {
    var music = document.getElementById('music2');
    var music_btn = document.getElementById('music_btn2');
    if (music.paused){
        music.play();
        music_btn.src = 'play.gif';
    }
    else{
        music.pause();
        music_btn.src = 'pause.gif'; 
    }
}
</script>
</div>
   
</div>

<!--banner-->
<div class="banner">
    <ul class="banner_pic" id="banner_pic">
        <li class="current"><img class="one" src="../image/d01.jpg" width="1920px" height="650px"/></li>
        <li class="pic"><img class="one" src="../image/d02.jpg" width="1920px" height="650px"/></li>
        <li class="pic"><img class="one" src="../image/d03.jpg" width="1920px" height="650px"/></li>
    </ul>
    <ol id="button">
        <li class="current"></li>
        <li class="but"></li>
        <li class="but"></li>
    </ol>
</div>

<div id="learn">
     <h2>桂电北海校区简介</h2>
     <dl>
         <dt></dt>
         <dd class="txt1">你了解桂电北海校区吗？</dd>
         <dd class="txt2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;北海校区属桂电的四个校区之一，位于美丽的海滨城市北海市，南珠大道9号，由本部统筹招生、同发校本部毕业证书。北海校区设有5个二级学院，在校生15900余人，其中本科生6800余人，专科生9000余人，研究生16人，留学生81人，教职工600多人。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;硕士专业1个，本科专业10个，高职专业32个，主要集中在机械类、电子类、计算机类、设计类、管理类、外贸类。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;北海校区发展定位以应用技术型本科为主，与桂林校区交辉相映。校区占地969（已建成541亩）亩，校舍建筑面积近30万平方米，托管北海市新图书馆，建筑面积4.4万平方米。</dd>
     </dl>
     
    <h3 class="txt3">桂电北海校区一览</h3>
    <div class="imgbox" id="imgbox">
         <span>
             <a href="#"><img src="../image/d1.jpg" /></a>
             <a href="#"><img src="../image/d2.jpg" /></a>
             <a href="#"><img src="../image/d3.jpg" /></a>
             <a href="#"><img src="../image/d4.jpg" /></a>
         </span>
     </div>
     
     
</div>

<div id="features">
    <h2>景区位置</h2>
        <div style="width:980px;height:450px;border:#ccc solid 1px;font-size:12px" id="map"></div>
        
        <script type="text/javascript">
    //创建和初始化地图函数：
    function initMap(){
      createMap();//创建地图
      setMapEvent();//设置地图事件
      addMapControl();//向地图添加控件
      addMapOverlay();//向地图添加覆盖物
    }
    function createMap(){ 
      map = new BMap.Map("map"); 
      map.centerAndZoom(new BMap.Point(109.179078,21.454835),15);
    }
    function setMapEvent(){
      map.enableScrollWheelZoom();
      map.enableKeyboard();
      map.enableDragging();
      map.enableDoubleClickZoom()
    }
    function addClickHandler(target,window){
      target.addEventListener("click",function(){
        target.openInfoWindow(window);
      });
    }
    function addMapOverlay(){
      var markers = [
        {content:"我的备注",title:"桂电北海校区",imageOffset: {width:0,height:3},position:{lat:21.454633,lng:109.177856}}
      ];
      for(var index = 0; index < markers.length; index++ ){
        var point = new BMap.Point(markers[index].position.lng,markers[index].position.lat);
        var marker = new BMap.Marker(point,{icon:new BMap.Icon("http://api.map.baidu.com/lbsapi/createmap/images/icon.png",new BMap.Size(20,25),{
          imageOffset: new BMap.Size(markers[index].imageOffset.width,markers[index].imageOffset.height)
        })});
        var label = new BMap.Label(markers[index].title,{offset: new BMap.Size(25,5)});
        var opts = {
          width: 200,
          title: markers[index].title,
          enableMessage: false
        };
        var infoWindow = new BMap.InfoWindow(markers[index].content,opts);
        marker.setLabel(label);
        addClickHandler(marker,infoWindow);
        map.addOverlay(marker);
      };
    }
    //向地图添加控件
    function addMapControl(){
      var scaleControl = new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT});
      scaleControl.setUnit(BMAP_UNIT_IMPERIAL);
      map.addControl(scaleControl);
      var navControl = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_LARGE});
      map.addControl(navControl);
      var overviewControl = new BMap.OverviewMapControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT,isOpen:true});
      map.addControl(overviewControl);
    }
    var map;
      initMap();
  </script>
    
<!--footer-->
<div class="footer">www.Meiōsei.com版权所有2000-2020京ICP备08001421号<br />学号：181203010417</div>
</body>
</html>
